package com.xiaofeng.auth.domain.convert;

import com.xiaofeng.auth.domain.entity.AuthPermissionBO;
import com.xiaofeng.auth.domain.entity.AuthRolePermissionBO;
import com.xiaofeng.subject.infra.basic.entity.AuthPermission;
import com.xiaofeng.subject.infra.basic.entity.AuthRolePermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author: chc
 * @Date: 2024/02/10/20:01
 * @Description: 角色权限关联关系BO转换器
 */
@Mapper
public interface AuthRolePermissionBOConverter {

    AuthRolePermissionBOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionBOConverter.class);

    AuthRolePermission convertBOToEntity(AuthRolePermissionBO authRolePermissionBO);
}
